<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>拒赔通知书</title>
</head>
<style>
  body{
    font-size: 16px;
    background:#fff;
  }
  .k{
    max-width: 900px;
    margin:0 auto;
  }
  .logo{
    text-align: center;
    margin: 0 auto;

  }
  .logo img{
    width: 144px;
  }
  .title{
    font-size: 20px;
    color:#000;
    font-weight: bold;
    font-family: 楷体_GB2312;
    text-align: center;
    padding-top: 10px;
  }
  .cont{
    font-size: 16px;
    /*color: #333;*/
    line-height: 32px;
    margin-top: 20px;
  }
  .textt{
    text-indent: 2em
  }
  .footer{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 30px;
  }
  .footer .zhang{
    display: flex;
    align-items: center;
  }
  .zhang img{
    width: 180px;
  }
  .dayin{
    width: 75px;
    background: #1E9FFF;
    text-align: center;
    border-radius: 5px;
    color: #fff;
    padding: 5px 0;
    margin:10px auto;
    cursor:pointer;

  }
  .textt{
    background: transparent;
    border:0px;
    width: 100%;
    height:120px;
    line-height:30px;
    text-indent: 2em;
    font-size: 16px;
    overflow-y: hidden;
  }
</style>
<body>
<div class="dayin" onclick="doPrint()">打印</div>
<div class="k" id="wendang">
  <div class="logo">
    <img src="{$site.bjd_logo}" alt="">
  </div>
  <div class="title">{$site.bjd_company}</div>
  <div class="title">拒赔通知书</div>
  <div class="cont">
    <p style="display: flex">尊敬的被服务人： <input type="text" value="{$row.learned_name}" style="width:80%;background: transparent; border:0"> </p>
<!--    <p class="textt">您名下车牌号    <span style="text-decoration: underline;">&nbsp;&nbsp;&nbsp;&nbsp;{$row.car_num}&nbsp;&nbsp;&nbsp;&nbsp;</span>  车在我公司服务单号： <span style="text-decoration: underline;">&nbsp;&nbsp;{$row.tong_number}&nbsp;&nbsp;</span> ，报案单号 <span style="text-decoration: underline;">&nbsp;&nbsp;{$row.baoan_id}&nbsp;&nbsp;</span> 。 <span style="text-decoration: underline;">&nbsp;&nbsp;{$row.car_num}&nbsp;&nbsp;</span> 机动车辆于 <span style="text-decoration: underline;">&nbsp;&nbsp;{$row.baoan_time}&nbsp;&nbsp;</span>在 <span style="text-decoration: underline;">&nbsp;&nbsp;{$row.address}&nbsp;&nbsp;</span>发生的交通事故损失不属于服务责任补偿范围。根据安全统筹合同条款的规定因<span style="text-decoration: underline;">&nbsp;&nbsp;{$row.jupei_beizhu}&nbsp;&nbsp;</span>，非常遗憾地通知您，我公司不能给予补偿，请予理解！欢迎您对我公司的工作提出宝贵意见。</p>-->

      <textarea class="textt">您名下车牌号{$row.car_num}车在我公司服务单号：{$row.tong_number} ，报案单号 {$row.baoan_id}。{$row.car_num}机动车辆于 {$row.baoan_time}在 {$row.address}发生的交通事故损失不属于服务责任补偿范围。根据安全统筹合同条款的规定因{$row.jupei_beizhu}，非常遗憾地通知您，我公司不能给予补偿，请予理解！欢迎您对我公司的工作提出宝贵意见。
      </textarea>

    <p class="textt">此致</p>
    <p style="padding-top: 30px;">被服务人签收：</p>
  </div>
  <div class="footer">
    <div class="zhang">
      <div>服务人签章：</div>
      <div><img src="{$site.bjd_fwz}" alt=""></div>
    </div>
    <div style="padding-top: 30px;">{$date}</div>
  </div>

</div>
</body>

<script>
  function doPrint() {
    $('.dayin').hide();
    window.print()
    return false;

    var printContents = $("#wendang").html();
    var w = window.open('', '_blank');
    w.document.write(printContents);
    w.document.write(`<style>
    body{
    font-size: 16px;
    background:#fff
  }
  .k{
    max-width: 900px;
    margin:0 auto;
  }
  .logo{
    text-align: center;
    margin: 0 auto;

  }
  .logo img{
    width: 144px;
  }
  .title{
    font-size: 20px;
    color:#000;
    font-weight: bold;
    font-family: 楷体_GB2312;
    text-align: center;
    padding-top: 10px;
  }
  .cont{
    font-size: 16px;
    /*color: #333;*/
    line-height: 32px;
    margin-top: 20px;
  }
  .textt{
    text-indent: 2em
  }
  .footer{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 30px;

  }
  .footer .zhang{
    display: flex;
    align-items: center;
  }
  .zhang img{
    width: 180px;
  }
  .textt{
    background: transparent;
    border:0px;
    width: 100%;
    height:120px;
    line-height:30px;
    text-indent: 2em;
    font-size: 16px;
    overflow-y: hidden;
  }
    </style>`)
    w.document.close();
    w.focus();
    w.print();
    w.close();
  }
</script>
</html>